home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6585 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: How do i make graphics in c?
  5. Date: 14 Feb 1996 22:41 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <14FEB199622413585@erich.triumf.ca>
  9. References: <4ftvj1$88b@wpg-01.escape.ca>
  10. NNTP-Posting-Host: ftp.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4ftvj1$88b@wpg-01.escape.ca>, Andrew Carr <acarr@escape.ca> writes...
  14. >I was wondering how do i make graphics (like line, staggered line, etc)
  15. >in C or C++? I currently use Turbo C++ version 3.0 for all my C and C++
  16. >programming. When i try to do graphics it always gives me the same
  17. >error "Linking error" and it doesn't compile. I did everything right
  18. >and i used all the right syntaxes but i still could not get it to work.
  19.  
  20. You probably have to tell the linker to search the graphics library. 
  21. #including <graphics.h> just tells the compiler what the graphics functions
  22. look like - it doesn't tell the linker to find them!
  23.  
  24. Under Options/Linker (or somewhere in that vicinity) there should be a tick box
  25. to tell the linker to search the graphics library.
  26.  
  27.  
  28. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  29. Internet: bennett@triumf.ca         | of one another only when one can be
  30. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  31. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  32. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  33.  
  34.  
  35.  
  36.  
  37.  
  38.